<div class="modal fade" id="verify_user" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
          aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">身份验证</h4>
      </div>

      <form class="form-horizontal" action="/love" method="post" id="verify_user_form">
        <div class="box-body">
          {% csrf_token %}
          <div class="modal-body">
            <div class="form-horizontal row">
              <div class="form-group col-sm-12">
                <label class="col-sm-4 control-label">*用户名</label>
                <div class="col-sm-6">
                  <input type="text" required="required" name="name" id="name" class="form-control" placeholder="用户名">
                </div>
              </div>

              <div class="form-group col-sm-12">
                <label class="col-sm-4 control-label">*密码</label>
                <div class="col-sm-6">
                  <input type="password" required="required" name="pw" id="pw" class="form-control" placeholder="密码">
                </div>
              </div>
            </div>
          </div>
        </div>

        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
          <button type="submit" class="btn btn-default">确认</button>
        </div>
      </form>
    </div>
  </div>
</div>
